package com.jn.algorithm.day009.question28;

/**
 * @author 江南大学1033190417
 * @date 2022/4/24 23:38
 */
public class Solution {
    public int strStr(String haystack, String needle) {
        return haystack.indexOf(needle);
    }

    public static void main(String[] args) {
        Solution solution=new Solution();
        System.out.println(solution.strStr("hello", "ll"));
    }
}
